package com.tms.domain;

import java.util.Date;

/**
 * 报修申请类
 *
 * @author sxy
 */
public class RepairApp {

    public RepairApp() {
    }

    public RepairApp(Tool tool, User subPerson, String description, String image, Date subTime, Status status) {
        this.tool = tool;
        this.subPerson = subPerson;
        this.description = description;
        this.image = image;
        this.subTime = subTime;
        this.status = status;
    }

    public RepairApp(int id, Tool tool, User subPerson, User checkPerson, String description, String image, Date subTime, Date checkTime, Status status) {
        this.id = id;
        this.tool = tool;
        this.subPerson = subPerson;
        this.checkPerson = checkPerson;
        this.description = description;
        this.image = image;
        this.subTime = subTime;
        this.checkTime = checkTime;
        this.status = status;
    }

    private int id;

    private Tool tool;

    private User subPerson;

    private User checkPerson;

    private String description;

    private String image;

    private Date subTime;

    private Date checkTime;

    private Status status;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Tool getTool() {
        return tool;
    }

    public void setTool(Tool tool) {
        this.tool = tool;
    }

    public User getSubPerson() {
        return subPerson;
    }

    public void setSubPerson(User subPerson) {
        this.subPerson = subPerson;
    }

    public User getCheckPerson() {
        return checkPerson;
    }

    public void setCheckPerson(User checkPerson) {
        this.checkPerson = checkPerson;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getSubTime() {
        return subTime;
    }

    public void setSubTime(Date subTime) {
        this.subTime = subTime;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }
}